<template>
  <div @click="onSearch">获取菜单</div>
</template>

<script setup lang="ts">
function onSearch() {
  console.log("--search--");
}
</script>
